# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1100+1.1069.51.1 -> 1.1101 # drivers/scsi/megaraid.c 1.26 -> 1.27 # drivers/acpi/dispatcher/dswload.c 1.19.1.1 -> 1.21 # include/acpi/acstruct.h 1.13.1.1 -> 1.15 # fs/fcntl.c 1.9.1.1 -> 1.11 # drivers/acpi/dispatcher/dsfield.c 1.19.1.1 -> 1.21 # Makefile 1.231 -> 1.232 # drivers/char/agp/agpgart_be.c 1.55 -> 1.56 # drivers/acpi/parser/psparse.c 1.18.1.1 -> 1.20 # include/acpi/acconfig.h 1.40 -> 1.41 # drivers/char/Config.in 1.54 -> 1.55 # drivers/pci/pci.c 1.44 -> 1.45 # drivers/acpi/dispatcher/dsutils.c 1.16.1.1 -> 1.18 # include/linux/pci.h 1.35.1.1 -> 1.37 # arch/i386/kernel/setup.c 1.79 -> 1.80 # drivers/acpi/namespace/nsutils.c 1.22.1.1 -> 1.24 # drivers/char/mem.c 1.25 -> 1.26 # mm/mmap.c 1.37 -> 1.38 # fs/proc/base.c 1.20 -> 1.21 # fs/Config.in 1.27.1.1 -> 1.29 # drivers/acpi/dispatcher/dsopcode.c 1.18.1.1 -> 1.20 # drivers/acpi/dispatcher/dswstate.c 1.17.1.1 -> 1.19 # drivers/acpi/Config.in 1.18 -> 1.19 # drivers/acpi/namespace/nsdump.c 1.17.1.1 -> 1.19 # Documentation/Configure.help 1.180 -> 1.181 # drivers/acpi/executer/excreate.c 1.15.1.1 -> 1.17 # drivers/acpi/namespace/nssearch.c 1.17.1.1 -> 1.19 # drivers/acpi/dispatcher/dswscope.c 1.14.1.1 -> 1.16 # diff -Nru a/drivers/char/mem.c b/drivers/char/mem.c --- a/drivers/char/mem.c Thu Oct 9 15:19:43 2003 +++ b/drivers/char/mem.c Thu Oct 9 15:19:43 2003 @@ -500,6 +500,7 @@ ret = file->f_pos; force_successful_syscall_return(); break; + default: ret = -EINVAL; }